[INFO] cloning repository https://github.com/raytrapi/conecta2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raytrapi/conecta2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e92a03345eb9ffb10c520fe4554efaf5f53f6239
[INFO] checking raytrapi/conecta2 against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraytrapi%2Fconecta2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/raytrapi/conecta2 on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/raytrapi/conecta2
[INFO] finished tweaking git repo https://github.com/raytrapi/conecta2
[INFO] tweaked toml for git repo https://github.com/raytrapi/conecta2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/raytrapi/conecta2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded base64 v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] af54cf571296e0a1214f956270f32b6b16f0c339c501388fb40e794ce93ac33e
[INFO] running `Command { std: "docker" "start" "-a" "af54cf571296e0a1214f956270f32b6b16f0c339c501388fb40e794ce93ac33e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af54cf571296e0a1214f956270f32b6b16f0c339c501388fb40e794ce93ac33e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af54cf571296e0a1214f956270f32b6b16f0c339c501388fb40e794ce93ac33e", kill_on_drop: false }`
[INFO] [stdout] af54cf571296e0a1214f956270f32b6b16f0c339c501388fb40e794ce93ac33e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 218935b65d6d1722b4e90d518b0cf008f2ae036c25b4315d4a79b479a886920b
[INFO] running `Command { std: "docker" "start" "-a" "218935b65d6d1722b4e90d518b0cf008f2ae036c25b4315d4a79b479a886920b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking block-padding v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]     Checking base64 v0.3.1
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking sha-1 v0.8.1
[INFO] [stderr]     Checking conecta2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `as`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                             ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `else`, or an operator, found `!`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:35
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                                   ^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `as`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                             ^^ expected identifier, found keyword
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `(`, `.`, `::`, `;`, `?`, `else`, or an operator, found `!`
[INFO] [stdout]   --> src/protocolo/websocket.rs:90:35
[INFO] [stdout]    |
[INFO] [stdout] 90 |                 let v=firma.as.vec![..];
[INFO] [stdout]    |                                   ^ expected one of 7 possible tokens
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`, `TcpStream`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cliente.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`
[INFO] [stdout]  --> src/cliente.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^            ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/servidor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpStream`
[INFO] [stdout]  --> src/servidor.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                             ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/servidor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/protocolo/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/protocolo/websocket.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if(v.len()<2){
[INFO] [stdout]    |           ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if(v.len()<2){
[INFO] [stdout] 28 +         if v.len()<2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         match(self.estado){
[INFO] [stdout] 47 +         match self.estado{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 if(cabecera.1==""){
[INFO] [stdout]    |                   ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -                 if(cabecera.1==""){
[INFO] [stdout] 51 +                 if cabecera.1=="" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         match(self.estado){
[INFO] [stdout] 71 +         match self.estado{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(self.estado==3){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(self.estado==3){
[INFO] [stdout] 100 +         if self.estado==3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if(b!=13){
[INFO] [stdout]     |                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if(b!=13){
[INFO] [stdout] 114 +                 if b!=13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TIPO_PROTOCOLO` should have an upper camel case name
[INFO] [stdout]   --> src/protocolo/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum TIPO_PROTOCOLO{
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TipoProtocolo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/mod.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout]    |                   ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout] 26 +                 if valor=="GET / HTTP/1.1" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   if(respuesta.len()>0){
[INFO] [stdout]    |                         ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                                         if(respuesta.len()>0){
[INFO] [stdout] 42 +                                         if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:54:52
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   if (respuesta.len()>0){
[INFO] [stdout]    |                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -                                                 if (respuesta.len()>0){
[INFO] [stdout] 54 +                                                 if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   if(buf[0]!=13){
[INFO] [stdout]    |                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -                                             if(buf[0]!=13){
[INFO] [stdout] 62 +                                             if buf[0]!=13 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`, `TcpStream`
[INFO] [stdout]  --> src/main.rs:7:16
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^  ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/cliente.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpListener`
[INFO] [stdout]  --> src/cliente.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^^^^^^            ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/servidor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`, `TcpStream`
[INFO] [stdout]  --> src/servidor.rs:4:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{TcpListener, TcpStream,IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                             ^^^^^^^^^ ^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/servidor.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/protocolo/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/protocolo/websocket.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:28:11
[INFO] [stdout]    |
[INFO] [stdout] 28 |         if(v.len()<2){
[INFO] [stdout]    |           ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -         if(v.len()<2){
[INFO] [stdout] 28 +         if v.len()<2 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -         match(self.estado){
[INFO] [stdout] 47 +         match self.estado{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/websocket.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 if(cabecera.1==""){
[INFO] [stdout]    |                   ^              ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 -                 if(cabecera.1==""){
[INFO] [stdout] 51 +                 if cabecera.1=="" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/protocolo/websocket.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 |         match(self.estado){
[INFO] [stdout]    |              ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         match(self.estado){
[INFO] [stdout] 71 +         match self.estado{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:100:11
[INFO] [stdout]     |
[INFO] [stdout] 100 |         if(self.estado==3){
[INFO] [stdout]     |           ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 100 -         if(self.estado==3){
[INFO] [stdout] 100 +         if self.estado==3 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocolo/websocket.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 if(b!=13){
[INFO] [stdout]     |                   ^     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 114 -                 if(b!=13){
[INFO] [stdout] 114 +                 if b!=13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TIPO_PROTOCOLO` should have an upper camel case name
[INFO] [stdout]   --> src/protocolo/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum TIPO_PROTOCOLO{
[INFO] [stdout]    |          ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TipoProtocolo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/protocolo/mod.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout]    |                   ^                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -                 if(valor=="GET / HTTP/1.1"){
[INFO] [stdout] 26 +                 if valor=="GET / HTTP/1.1" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 | ...                   if(respuesta.len()>0){
[INFO] [stdout]    |                         ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 42 -                                         if(respuesta.len()>0){
[INFO] [stdout] 42 +                                         if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:54:52
[INFO] [stdout]    |
[INFO] [stdout] 54 | ...                   if (respuesta.len()>0){
[INFO] [stdout]    |                          ^                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -                                                 if (respuesta.len()>0){
[INFO] [stdout] 54 +                                                 if respuesta.len()>0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/protocolo/mod.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<Prot>,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<dyn Prot>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/servidor.rs:62:47
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   if(buf[0]!=13){
[INFO] [stdout]    |                         ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -                                             if(buf[0]!=13){
[INFO] [stdout] 62 +                                             if buf[0]!=13 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/protocolo/mod.rs:19:23
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<Prot>,
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub protocolo:Box<dyn Prot>,
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `conecta2` due to 3 previous errors; 25 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `conecta2` due to 3 previous errors; 25 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "218935b65d6d1722b4e90d518b0cf008f2ae036c25b4315d4a79b479a886920b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "218935b65d6d1722b4e90d518b0cf008f2ae036c25b4315d4a79b479a886920b", kill_on_drop: false }`
[INFO] [stdout] 218935b65d6d1722b4e90d518b0cf008f2ae036c25b4315d4a79b479a886920b
